package com.aifast.common.annotations;

import java.lang.annotation.*;

/**
 * @Author fujian
 * @since 2022/1/26 16:49
 *
 * api幂等判断
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface AiIdempotent {

    /**
     * 时间判断 单位秒s 默认1s
     * @return
     */
    long time() default 1;

}
